{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "QUANTAXIS>> start QUANTAXIS\n",
      "QUANTAXIS>> Welcome to QUANTAXIS, the Version is 1.0.66\n",
      "QUANTAXIS>>  \n",
      " ```````````````````````````````````````````````````````````````````````````````````````````````````````````````````````` \n",
      "  ``########`````##````````##``````````##`````````####````````##```##########````````#``````##``````###```##`````######`` \n",
      "  `##``````## ```##````````##`````````####````````##`##```````##```````##```````````###``````##````##`````##```##`````##` \n",
      "  ##````````##```##````````##````````##`##````````##``##``````##```````##``````````####```````#```##``````##```##``````## \n",
      "  ##````````##```##````````##```````##```##```````##```##`````##```````##`````````##`##```````##`##```````##````##``````` \n",
      "  ##````````##```##````````##``````##`````##``````##````##````##```````##````````##``###```````###````````##`````##`````` \n",
      "  ##````````##```##````````##``````##``````##`````##`````##```##```````##```````##````##```````###````````##``````###```` \n",
      "  ##````````##```##````````##`````##````````##````##``````##``##```````##``````##``````##`````##`##```````##````````##``` \n",
      "  ##````````##```##````````##````#############````##```````##`##```````##`````###########`````##``##``````##`````````##`` \n",
      "  ###```````##```##````````##```##```````````##```##```````##`##```````##````##`````````##```##```##``````##```##`````##` \n",
      "  `##``````###````##``````###``##`````````````##``##````````####```````##```##``````````##``###````##`````##````##`````## \n",
      "  ``#########``````########```##``````````````###`##``````````##```````##``##````````````##`##``````##````##`````###``### \n",
      "  ````````#####`````````````````````````````````````````````````````````````````````````````````````````````````````##``  \n",
      "  ``````````````````````````````````````````````````````````````````````````````````````````````````````````````````````` \n",
      "  ``````````````````````````Copyright``yutiansut``2018``````QUANTITATIVE FINANCIAL FRAMEWORK````````````````````````````` \n",
      "  ``````````````````````````````````````````````````````````````````````````````````````````````````````````````````````` \n",
      " ```````````````````````````````````````````````````````````````````````````````````````````````````````````````````````` \n",
      " ```````````````````````````````````````````````````````````````````````````````````````````````````````````````````````` \n",
      " \n"
     ]
    }
   ],
   "source": [
    "import pandas as pd\n",
    "import QUANTAXIS as QA"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 1.获取全市场股票列表"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [],
   "source": [
    "code=QA.QA_fetch_stock_list_adv().code.tolist()\n",
    "code1=QA.QA_fetch_stock_list_adv().set_index('code')"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 2.获取全市场日线+1分钟线+5分钟线"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [],
   "source": [
    "daydata=QA.QA_fetch_stock_day_adv(code,'2018-07-12','2018-07-13')\n",
    "\n",
    "dailymin_data=QA.QA_fetch_stock_min_adv(code,'2018-07-13','2018-07-14')\n",
    "dailymin5_data=QA.QA_fetch_stock_min_adv(code,'2018-07-13','2018-07-14','5min')"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 3.获取全市场版块"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [],
   "source": [
    "block=QA.QA_fetch_stock_block_adv()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 4.查看1分钟线单个bar涨幅超过1.8%的股票"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "datetime             code  \n",
       "2018-07-13 09:31:00  000516    0.035156\n",
       "                     000517    0.020134\n",
       "                     000519    0.020262\n",
       "                     002035    0.020029\n",
       "                     002159    0.018182\n",
       "                     002438    0.023256\n",
       "                     002544    0.026217\n",
       "                     002571    0.023423\n",
       "                     002662    0.047619\n",
       "                     002686    0.044898\n",
       "                     002694    0.025896\n",
       "                     002705    0.020000\n",
       "                     002902    0.025300\n",
       "                     300011    0.040785\n",
       "                     300151    0.044143\n",
       "                     300192    0.025202\n",
       "                     300325    0.018237\n",
       "                     300452    0.025000\n",
       "                     300718    0.062800\n",
       "                     600532    0.034816\n",
       "                     600793    0.018195\n",
       "                     600965    0.029808\n",
       "                     601028    0.018692\n",
       "                     603085    0.018111\n",
       "                     603086    0.023333\n",
       "                     603200    0.020216\n",
       "                     603345    0.021592\n",
       "                     603456    0.018325\n",
       "                     603667    0.033981\n",
       "2018-07-13 09:32:00  000659    0.026087\n",
       "                                 ...   \n",
       "2018-07-13 14:21:00  002301    0.024928\n",
       "2018-07-13 14:22:00  002182    0.049206\n",
       "2018-07-13 14:23:00  002377    0.026125\n",
       "2018-07-13 14:26:00  002909    0.021622\n",
       "                     603637    0.018153\n",
       "2018-07-13 14:30:00  000612    0.027778\n",
       "2018-07-13 14:31:00  603067    0.022963\n",
       "2018-07-13 14:34:00  000022    0.018421\n",
       "2018-07-13 14:35:00  002326    0.019231\n",
       "                     603067    0.049640\n",
       "2018-07-13 14:36:00  300656    0.023650\n",
       "2018-07-13 14:41:00  000046    0.018868\n",
       "2018-07-13 14:43:00  300656    0.022445\n",
       "2018-07-13 14:46:00  000010    0.019608\n",
       "                     002218    0.019544\n",
       "2018-07-13 14:49:00  000678    0.028409\n",
       "                     300125    0.022024\n",
       "2018-07-13 14:50:00  300390    0.021028\n",
       "2018-07-13 14:51:00  300125    0.024041\n",
       "                     600552    0.037694\n",
       "                     600980    0.023847\n",
       "2018-07-13 14:52:00  000678    0.020599\n",
       "                     002094    0.019710\n",
       "                     300390    0.027668\n",
       "                     600599    0.021840\n",
       "                     601113    0.018519\n",
       "2018-07-13 14:54:00  300390    0.031008\n",
       "2018-07-13 14:55:00  600599    0.023403\n",
       "2018-07-13 14:57:00  002641    0.020468\n",
       "2018-07-13 14:59:00  600243    0.035573\n",
       "Length: 292, dtype: float64"
      ]
     },
     "execution_count": 5,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "dailymin_data.fast_moving(0.018)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 5. 查看5分钟线单个bar涨幅超过3%的股票"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [],
   "source": [
    "fast_moving=dailymin5_data.fast_moving(0.03)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "datetime             code  \n",
       "2018-07-13 09:35:00  000062    0.030049\n",
       "                     000503    0.031199\n",
       "                     000576    0.058965\n",
       "                     000736    0.032200\n",
       "                     000995    0.055556\n",
       "                     002112    0.047891\n",
       "                     002178    0.037037\n",
       "                     002544    0.047940\n",
       "                     002662    0.047619\n",
       "                     002694    0.077689\n",
       "                     002816    0.059379\n",
       "                     300011    0.040785\n",
       "                     300062    0.095149\n",
       "                     300090    0.030055\n",
       "                     300325    0.030395\n",
       "                     300452    0.133000\n",
       "                     300542    0.030814\n",
       "                     300582    0.062303\n",
       "                     300654    0.033835\n",
       "                     300684    0.043017\n",
       "                     300718    0.044000\n",
       "                     300746    0.055276\n",
       "                     600179    0.059558\n",
       "                     600238    0.031299\n",
       "                     601028    0.046729\n",
       "                     601330    0.051858\n",
       "                     603579    0.030597\n",
       "2018-07-13 09:40:00  000517    0.052980\n",
       "                     000638    0.035647\n",
       "                     000732    0.030900\n",
       "                                 ...   \n",
       "2018-07-13 13:35:00  603667    0.032099\n",
       "2018-07-13 13:40:00  603029    0.041191\n",
       "2018-07-13 13:50:00  600255    0.046512\n",
       "2018-07-13 13:55:00  002423    0.055931\n",
       "                     600117    0.045952\n",
       "                     600507    0.097876\n",
       "                     600581    0.030303\n",
       "2018-07-13 14:05:00  002256    0.067251\n",
       "                     300458    0.038298\n",
       "2018-07-13 14:10:00  000046    0.035336\n",
       "                     002882    0.030415\n",
       "                     603718    0.032765\n",
       "2018-07-13 14:15:00  000780    0.032836\n",
       "                     000962    0.075000\n",
       "                     300392    0.032051\n",
       "                     603733    0.044753\n",
       "2018-07-13 14:20:00  002347    0.069409\n",
       "                     300477    0.042049\n",
       "                     600459    0.040338\n",
       "2018-07-13 14:25:00  002182    0.053055\n",
       "2018-07-13 14:35:00  002326    0.031128\n",
       "                     603067    0.080741\n",
       "2018-07-13 14:40:00  603021    0.045198\n",
       "2018-07-13 14:50:00  000678    0.032882\n",
       "                     300125    0.065244\n",
       "                     600980    0.034711\n",
       "2018-07-13 14:55:00  600599    0.078667\n",
       "                     601113    0.037410\n",
       "2018-07-13 15:00:00  000609    0.030457\n",
       "                     300390    0.046565\n",
       "Length: 147, dtype: float64"
      ]
     },
     "execution_count": 7,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "fast_moving"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 6.涨停分析"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 6.1涨停在DataStruct是high_limit (惰性计算)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {},
   "outputs": [],
   "source": [
    "#涨停\n",
    "\n",
    "high_limit=daydata[daydata.close==daydata.high_limit]"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 6.2选择涨停的个股(select_code方法),并选取异动1.8%的股票"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {},
   "outputs": [],
   "source": [
    "data=dailymin_data.select_code(high_limit.code).fast_moving(0.018)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 6.3更换名称"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {},
   "outputs": [],
   "source": [
    "yd=data.reset_index().rename(columns={0:'pct_change'})"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 6.4对异动的股票增加股票所属版块名, 股票名"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "datetime是发生异动的时间, code是股票名, pct_change是单个bar的涨幅 block是所属版块 name是股票名称"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {},
   "outputs": [],
   "source": [
    "yd=yd.assign(block=yd.code.apply(lambda x: block.get_code(x).block_name)).assign(name=yd.code.apply(lambda x: code1.loc[x]['name']))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>datetime</th>\n",
       "      <th>code</th>\n",
       "      <th>pct_change</th>\n",
       "      <th>block</th>\n",
       "      <th>name</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>2018-07-13 09:31:00</td>\n",
       "      <td>002662</td>\n",
       "      <td>0.047619</td>\n",
       "      <td>[锂电池, 新能源车, 昨日涨停, 昨日连板, 送转超跌, 上周强势, 融资融券, 新材料概...</td>\n",
       "      <td>京威股份</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>2018-07-13 09:31:00</td>\n",
       "      <td>002694</td>\n",
       "      <td>0.025896</td>\n",
       "      <td>[业绩预升, 户数增加, 重组预案, 昨日涨停, 送转超跌, 地下管网, 体育产业, 湖北,...</td>\n",
       "      <td>顾地科技</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>2018-07-13 09:31:00</td>\n",
       "      <td>300011</td>\n",
       "      <td>0.040785</td>\n",
       "      <td>[雄安新区, 铁路基建, 民营银行, 创业300, 业绩预升, 昨日涨停, 参股民营银行, ...</td>\n",
       "      <td>鼎汉技术</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>2018-07-13 09:31:00</td>\n",
       "      <td>600793</td>\n",
       "      <td>0.018195</td>\n",
       "      <td>[成渝特区, 小盘股, 高市盈率, 高市净率, 微利股, 久不分红, 昨日涨停, 股权转让,...</td>\n",
       "      <td>宜宾纸业</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>2018-07-13 09:31:00</td>\n",
       "      <td>601028</td>\n",
       "      <td>0.018692</td>\n",
       "      <td>[锂电池, 油气改革, 高市盈率, 股权转让, 昨日涨停, 地下管网, 石墨烯, 天然气, ...</td>\n",
       "      <td>玉龙股份</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>2018-07-13 09:32:00</td>\n",
       "      <td>002112</td>\n",
       "      <td>0.045924</td>\n",
       "      <td>[农村金融, 智能电网, 高管减持, 小盘股, 亏损股, 被举牌, 昨日涨停, 昨日连板, ...</td>\n",
       "      <td>三变科技</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>2018-07-13 09:33:00</td>\n",
       "      <td>002694</td>\n",
       "      <td>0.054581</td>\n",
       "      <td>[业绩预升, 户数增加, 重组预案, 昨日涨停, 送转超跌, 地下管网, 体育产业, 湖北,...</td>\n",
       "      <td>顾地科技</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>2018-07-13 09:33:00</td>\n",
       "      <td>002897</td>\n",
       "      <td>0.018809</td>\n",
       "      <td>[次新股, 5G概念, 深次新股, 已高送转, 昨日涨停, 昨日连板, 昨高换手, 上周强势...</td>\n",
       "      <td>意华股份</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>2018-07-13 09:33:00</td>\n",
       "      <td>601330</td>\n",
       "      <td>0.021354</td>\n",
       "      <td>[次新股, 含H股, 生物质能, 高市净率, 昨日涨停, 昨高换手, 次新开板, 近期异动,...</td>\n",
       "      <td>绿色动力</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>2018-07-13 09:35:00</td>\n",
       "      <td>300062</td>\n",
       "      <td>0.067273</td>\n",
       "      <td>[海峡西岸, 铁路基建, 太阳能, 充电桩, 智能电网, 业绩预降, 小盘股, 重组预案, ...</td>\n",
       "      <td>中能电气</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>2018-07-13 09:35:00</td>\n",
       "      <td>601330</td>\n",
       "      <td>0.023034</td>\n",
       "      <td>[次新股, 含H股, 生物质能, 高市净率, 昨日涨停, 昨高换手, 次新开板, 近期异动,...</td>\n",
       "      <td>绿色动力</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>2018-07-13 09:35:00</td>\n",
       "      <td>603690</td>\n",
       "      <td>0.030719</td>\n",
       "      <td>[芯片, 本月解禁, 基金独门, 高市盈率, 高市净率, 两年新股, 定增预案, 重组预案,...</td>\n",
       "      <td>至纯科技</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>2018-07-13 09:36:00</td>\n",
       "      <td>300128</td>\n",
       "      <td>0.021226</td>\n",
       "      <td>[太阳能, 石墨烯, 苹果概念, 大数据, 蓝宝石, 智能电视, 虚拟现实, OLED概念,...</td>\n",
       "      <td>锦富技术</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>2018-07-13 09:36:00</td>\n",
       "      <td>300648</td>\n",
       "      <td>0.033657</td>\n",
       "      <td>[锂电池, 创业创新, 本月解禁, 已高送转, 基金独门, 高市盈率, 高市净率, 两年新股...</td>\n",
       "      <td>星云股份</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>2018-07-13 09:40:00</td>\n",
       "      <td>603703</td>\n",
       "      <td>0.025275</td>\n",
       "      <td>[量子通信, 小盘股, 昨日涨停, 家用电器, 宽带中国, 浙江, 通信设备]</td>\n",
       "      <td>盛洋科技</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>2018-07-13 09:44:00</td>\n",
       "      <td>603690</td>\n",
       "      <td>0.033938</td>\n",
       "      <td>[芯片, 本月解禁, 基金独门, 高市盈率, 高市净率, 两年新股, 定增预案, 重组预案,...</td>\n",
       "      <td>至纯科技</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>2018-07-13 09:46:00</td>\n",
       "      <td>002897</td>\n",
       "      <td>0.023437</td>\n",
       "      <td>[次新股, 5G概念, 深次新股, 已高送转, 昨日涨停, 昨日连板, 昨高换手, 上周强势...</td>\n",
       "      <td>意华股份</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>2018-07-13 09:58:00</td>\n",
       "      <td>600793</td>\n",
       "      <td>0.019608</td>\n",
       "      <td>[成渝特区, 小盘股, 高市盈率, 高市净率, 微利股, 久不分红, 昨日涨停, 股权转让,...</td>\n",
       "      <td>宜宾纸业</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>2018-07-13 10:04:00</td>\n",
       "      <td>603595</td>\n",
       "      <td>0.019900</td>\n",
       "      <td>[苹果概念, 蓝宝石, 上证380, 本月解禁, 高市净率, 两年新股, 昨日涨停, 昨日连...</td>\n",
       "      <td>东尼电子</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>2018-07-13 10:08:00</td>\n",
       "      <td>300128</td>\n",
       "      <td>0.018779</td>\n",
       "      <td>[太阳能, 石墨烯, 苹果概念, 大数据, 蓝宝石, 智能电视, 虚拟现实, OLED概念,...</td>\n",
       "      <td>锦富技术</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>2018-07-13 10:09:00</td>\n",
       "      <td>300128</td>\n",
       "      <td>0.032258</td>\n",
       "      <td>[太阳能, 石墨烯, 苹果概念, 大数据, 蓝宝石, 智能电视, 虚拟现实, OLED概念,...</td>\n",
       "      <td>锦富技术</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>2018-07-13 10:10:00</td>\n",
       "      <td>300049</td>\n",
       "      <td>0.036315</td>\n",
       "      <td>[大数据, 民营医院, 智能医疗, 户数减少, 参股金融, 定增预案, 昨日涨停, 上周弱势...</td>\n",
       "      <td>福瑞股份</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>2018-07-13 10:23:00</td>\n",
       "      <td>300534</td>\n",
       "      <td>0.055872</td>\n",
       "      <td>[两年新股, 昨日涨停, 送转超跌, 上周强势, 甘肃, 中药]</td>\n",
       "      <td>陇神戎发</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>2018-07-13 10:37:00</td>\n",
       "      <td>002164</td>\n",
       "      <td>0.025751</td>\n",
       "      <td>[风能, 业绩预升, 破净资产, 昨日涨停, 近期新低, 风电, 供应链金融, 浙江, 通用...</td>\n",
       "      <td>宁波东力</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>2018-07-13 10:37:00</td>\n",
       "      <td>002653</td>\n",
       "      <td>0.023314</td>\n",
       "      <td>[金融改革, 深证创新, 国证治理, 扣非亏损, 员工持股, 昨日涨停, 上周强势, 参股保...</td>\n",
       "      <td>海思科</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>2018-07-13 10:39:00</td>\n",
       "      <td>002164</td>\n",
       "      <td>0.023305</td>\n",
       "      <td>[风能, 业绩预升, 破净资产, 昨日涨停, 近期新低, 风电, 供应链金融, 浙江, 通用...</td>\n",
       "      <td>宁波东力</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>2018-07-13 10:41:00</td>\n",
       "      <td>002164</td>\n",
       "      <td>0.020964</td>\n",
       "      <td>[风能, 业绩预升, 破净资产, 昨日涨停, 近期新低, 风电, 供应链金融, 浙江, 通用...</td>\n",
       "      <td>宁波东力</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>2018-07-13 10:42:00</td>\n",
       "      <td>002164</td>\n",
       "      <td>0.028689</td>\n",
       "      <td>[风能, 业绩预升, 破净资产, 昨日涨停, 近期新低, 风电, 供应链金融, 浙江, 通用...</td>\n",
       "      <td>宁波东力</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>2018-07-13 11:02:00</td>\n",
       "      <td>300163</td>\n",
       "      <td>0.053254</td>\n",
       "      <td>[建筑节能, 小盘股, 重组股, 股权转让, 昨日涨停, 互联网保险, O2O概念, 乳业,...</td>\n",
       "      <td>先锋新材</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>2018-07-13 11:05:00</td>\n",
       "      <td>000411</td>\n",
       "      <td>0.028655</td>\n",
       "      <td>[央企改革, 中证央企, 户数增加, 基金独门, 久不分红, 昨日涨停, 近期新低, 医疗器...</td>\n",
       "      <td>英特集团</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>30</th>\n",
       "      <td>2018-07-13 11:06:00</td>\n",
       "      <td>002770</td>\n",
       "      <td>0.019417</td>\n",
       "      <td>[本月解禁, 定增预案, 重组预案, 昨日涨停, 送转超跌, 电子商务, 二胎概念, 乳业,...</td>\n",
       "      <td>科迪乳业</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>31</th>\n",
       "      <td>2018-07-13 11:07:00</td>\n",
       "      <td>002770</td>\n",
       "      <td>0.028481</td>\n",
       "      <td>[本月解禁, 定增预案, 重组预案, 昨日涨停, 送转超跌, 电子商务, 二胎概念, 乳业,...</td>\n",
       "      <td>科迪乳业</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>32</th>\n",
       "      <td>2018-07-13 13:01:00</td>\n",
       "      <td>002243</td>\n",
       "      <td>0.027070</td>\n",
       "      <td>[小盘股, 昨日涨停, 昨日连板, 上周强势, 近期新低, 迪士尼, 深圳国资改革, 深圳,...</td>\n",
       "      <td>通产丽星</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>33</th>\n",
       "      <td>2018-07-13 13:01:00</td>\n",
       "      <td>300648</td>\n",
       "      <td>0.057290</td>\n",
       "      <td>[锂电池, 创业创新, 本月解禁, 已高送转, 基金独门, 高市盈率, 高市净率, 两年新股...</td>\n",
       "      <td>星云股份</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>34</th>\n",
       "      <td>2018-07-13 13:10:00</td>\n",
       "      <td>002909</td>\n",
       "      <td>0.035108</td>\n",
       "      <td>[次新股, 深次新股, 业绩预降, 昨日涨停, 昨高换手, 活跃股, 近期异动, 新股与次新...</td>\n",
       "      <td>集泰股份</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35</th>\n",
       "      <td>2018-07-13 13:12:00</td>\n",
       "      <td>002909</td>\n",
       "      <td>0.035368</td>\n",
       "      <td>[次新股, 深次新股, 业绩预降, 昨日涨停, 昨高换手, 活跃股, 近期异动, 新股与次新...</td>\n",
       "      <td>集泰股份</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>36</th>\n",
       "      <td>2018-07-13 13:16:00</td>\n",
       "      <td>002633</td>\n",
       "      <td>0.019874</td>\n",
       "      <td>[小盘股, 高质押股, 昨日涨停, 上周强势, 浙江, 通用设备, 制造业]</td>\n",
       "      <td>申科股份</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>37</th>\n",
       "      <td>2018-07-13 13:51:00</td>\n",
       "      <td>002633</td>\n",
       "      <td>0.019467</td>\n",
       "      <td>[小盘股, 高质押股, 昨日涨停, 上周强势, 浙江, 通用设备, 制造业]</td>\n",
       "      <td>申科股份</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>38</th>\n",
       "      <td>2018-07-13 13:52:00</td>\n",
       "      <td>300226</td>\n",
       "      <td>0.018938</td>\n",
       "      <td>[上海自贸, 新三板, 大数据, 互联金融, 电商概念, 网贷概念, 工业互联, 创业板指,...</td>\n",
       "      <td>上海钢联</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>39</th>\n",
       "      <td>2018-07-13 14:09:00</td>\n",
       "      <td>002909</td>\n",
       "      <td>0.019912</td>\n",
       "      <td>[次新股, 深次新股, 业绩预降, 昨日涨停, 昨高换手, 活跃股, 近期异动, 新股与次新...</td>\n",
       "      <td>集泰股份</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>40</th>\n",
       "      <td>2018-07-13 14:10:00</td>\n",
       "      <td>000962</td>\n",
       "      <td>0.021938</td>\n",
       "      <td>[稀缺资源, 太阳能, 锂电池, 超导概念, 钛金属, 中证央企, 亏损股, 股权转让, 证...</td>\n",
       "      <td>东方钽业</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>41</th>\n",
       "      <td>2018-07-13 14:13:00</td>\n",
       "      <td>000962</td>\n",
       "      <td>0.024779</td>\n",
       "      <td>[稀缺资源, 太阳能, 锂电池, 超导概念, 钛金属, 中证央企, 亏损股, 股权转让, 证...</td>\n",
       "      <td>东方钽业</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>42</th>\n",
       "      <td>2018-07-13 14:14:00</td>\n",
       "      <td>000962</td>\n",
       "      <td>0.039724</td>\n",
       "      <td>[稀缺资源, 太阳能, 锂电池, 超导概念, 钛金属, 中证央企, 亏损股, 股权转让, 证...</td>\n",
       "      <td>东方钽业</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>43</th>\n",
       "      <td>2018-07-13 14:19:00</td>\n",
       "      <td>002347</td>\n",
       "      <td>0.020151</td>\n",
       "      <td>[皖江区域, 锂电池, 智能机器, 小盘股, 亏损股, 参股新股, 昨日涨停, 送转超跌, ...</td>\n",
       "      <td>泰尔股份</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>44</th>\n",
       "      <td>2018-07-13 14:20:00</td>\n",
       "      <td>002347</td>\n",
       "      <td>0.027160</td>\n",
       "      <td>[皖江区域, 锂电池, 智能机器, 小盘股, 亏损股, 参股新股, 昨日涨停, 送转超跌, ...</td>\n",
       "      <td>泰尔股份</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>45</th>\n",
       "      <td>2018-07-13 14:26:00</td>\n",
       "      <td>002909</td>\n",
       "      <td>0.021622</td>\n",
       "      <td>[次新股, 深次新股, 业绩预降, 昨日涨停, 昨高换手, 活跃股, 近期异动, 新股与次新...</td>\n",
       "      <td>集泰股份</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>46</th>\n",
       "      <td>2018-07-13 14:50:00</td>\n",
       "      <td>300390</td>\n",
       "      <td>0.021028</td>\n",
       "      <td>[锂电池, 独角兽, 户数增加, 昨日涨停, 昨日连板, 昨高换手, 上周强势, 活跃股, ...</td>\n",
       "      <td>天华超净</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>47</th>\n",
       "      <td>2018-07-13 14:52:00</td>\n",
       "      <td>300390</td>\n",
       "      <td>0.027668</td>\n",
       "      <td>[锂电池, 独角兽, 户数增加, 昨日涨停, 昨日连板, 昨高换手, 上周强势, 活跃股, ...</td>\n",
       "      <td>天华超净</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>48</th>\n",
       "      <td>2018-07-13 14:54:00</td>\n",
       "      <td>300390</td>\n",
       "      <td>0.031008</td>\n",
       "      <td>[锂电池, 独角兽, 户数增加, 昨日涨停, 昨日连板, 昨高换手, 上周强势, 活跃股, ...</td>\n",
       "      <td>天华超净</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "              datetime    code  pct_change  \\\n",
       "0  2018-07-13 09:31:00  002662    0.047619   \n",
       "1  2018-07-13 09:31:00  002694    0.025896   \n",
       "2  2018-07-13 09:31:00  300011    0.040785   \n",
       "3  2018-07-13 09:31:00  600793    0.018195   \n",
       "4  2018-07-13 09:31:00  601028    0.018692   \n",
       "5  2018-07-13 09:32:00  002112    0.045924   \n",
       "6  2018-07-13 09:33:00  002694    0.054581   \n",
       "7  2018-07-13 09:33:00  002897    0.018809   \n",
       "8  2018-07-13 09:33:00  601330    0.021354   \n",
       "9  2018-07-13 09:35:00  300062    0.067273   \n",
       "10 2018-07-13 09:35:00  601330    0.023034   \n",
       "11 2018-07-13 09:35:00  603690    0.030719   \n",
       "12 2018-07-13 09:36:00  300128    0.021226   \n",
       "13 2018-07-13 09:36:00  300648    0.033657   \n",
       "14 2018-07-13 09:40:00  603703    0.025275   \n",
       "15 2018-07-13 09:44:00  603690    0.033938   \n",
       "16 2018-07-13 09:46:00  002897    0.023437   \n",
       "17 2018-07-13 09:58:00  600793    0.019608   \n",
       "18 2018-07-13 10:04:00  603595    0.019900   \n",
       "19 2018-07-13 10:08:00  300128    0.018779   \n",
       "20 2018-07-13 10:09:00  300128    0.032258   \n",
       "21 2018-07-13 10:10:00  300049    0.036315   \n",
       "22 2018-07-13 10:23:00  300534    0.055872   \n",
       "23 2018-07-13 10:37:00  002164    0.025751   \n",
       "24 2018-07-13 10:37:00  002653    0.023314   \n",
       "25 2018-07-13 10:39:00  002164    0.023305   \n",
       "26 2018-07-13 10:41:00  002164    0.020964   \n",
       "27 2018-07-13 10:42:00  002164    0.028689   \n",
       "28 2018-07-13 11:02:00  300163    0.053254   \n",
       "29 2018-07-13 11:05:00  000411    0.028655   \n",
       "30 2018-07-13 11:06:00  002770    0.019417   \n",
       "31 2018-07-13 11:07:00  002770    0.028481   \n",
       "32 2018-07-13 13:01:00  002243    0.027070   \n",
       "33 2018-07-13 13:01:00  300648    0.057290   \n",
       "34 2018-07-13 13:10:00  002909    0.035108   \n",
       "35 2018-07-13 13:12:00  002909    0.035368   \n",
       "36 2018-07-13 13:16:00  002633    0.019874   \n",
       "37 2018-07-13 13:51:00  002633    0.019467   \n",
       "38 2018-07-13 13:52:00  300226    0.018938   \n",
       "39 2018-07-13 14:09:00  002909    0.019912   \n",
       "40 2018-07-13 14:10:00  000962    0.021938   \n",
       "41 2018-07-13 14:13:00  000962    0.024779   \n",
       "42 2018-07-13 14:14:00  000962    0.039724   \n",
       "43 2018-07-13 14:19:00  002347    0.020151   \n",
       "44 2018-07-13 14:20:00  002347    0.027160   \n",
       "45 2018-07-13 14:26:00  002909    0.021622   \n",
       "46 2018-07-13 14:50:00  300390    0.021028   \n",
       "47 2018-07-13 14:52:00  300390    0.027668   \n",
       "48 2018-07-13 14:54:00  300390    0.031008   \n",
       "\n",
       "                                                block  name  \n",
       "0   [锂电池, 新能源车, 昨日涨停, 昨日连板, 送转超跌, 上周强势, 融资融券, 新材料概...  京威股份  \n",
       "1   [业绩预升, 户数增加, 重组预案, 昨日涨停, 送转超跌, 地下管网, 体育产业, 湖北,...  顾地科技  \n",
       "2   [雄安新区, 铁路基建, 民营银行, 创业300, 业绩预升, 昨日涨停, 参股民营银行, ...  鼎汉技术  \n",
       "3   [成渝特区, 小盘股, 高市盈率, 高市净率, 微利股, 久不分红, 昨日涨停, 股权转让,...  宜宾纸业  \n",
       "4   [锂电池, 油气改革, 高市盈率, 股权转让, 昨日涨停, 地下管网, 石墨烯, 天然气, ...  玉龙股份  \n",
       "5   [农村金融, 智能电网, 高管减持, 小盘股, 亏损股, 被举牌, 昨日涨停, 昨日连板, ...  三变科技  \n",
       "6   [业绩预升, 户数增加, 重组预案, 昨日涨停, 送转超跌, 地下管网, 体育产业, 湖北,...  顾地科技  \n",
       "7   [次新股, 5G概念, 深次新股, 已高送转, 昨日涨停, 昨日连板, 昨高换手, 上周强势...  意华股份  \n",
       "8   [次新股, 含H股, 生物质能, 高市净率, 昨日涨停, 昨高换手, 次新开板, 近期异动,...  绿色动力  \n",
       "9   [海峡西岸, 铁路基建, 太阳能, 充电桩, 智能电网, 业绩预降, 小盘股, 重组预案, ...  中能电气  \n",
       "10  [次新股, 含H股, 生物质能, 高市净率, 昨日涨停, 昨高换手, 次新开板, 近期异动,...  绿色动力  \n",
       "11  [芯片, 本月解禁, 基金独门, 高市盈率, 高市净率, 两年新股, 定增预案, 重组预案,...  至纯科技  \n",
       "12  [太阳能, 石墨烯, 苹果概念, 大数据, 蓝宝石, 智能电视, 虚拟现实, OLED概念,...  锦富技术  \n",
       "13  [锂电池, 创业创新, 本月解禁, 已高送转, 基金独门, 高市盈率, 高市净率, 两年新股...  星云股份  \n",
       "14            [量子通信, 小盘股, 昨日涨停, 家用电器, 宽带中国, 浙江, 通信设备]  盛洋科技  \n",
       "15  [芯片, 本月解禁, 基金独门, 高市盈率, 高市净率, 两年新股, 定增预案, 重组预案,...  至纯科技  \n",
       "16  [次新股, 5G概念, 深次新股, 已高送转, 昨日涨停, 昨日连板, 昨高换手, 上周强势...  意华股份  \n",
       "17  [成渝特区, 小盘股, 高市盈率, 高市净率, 微利股, 久不分红, 昨日涨停, 股权转让,...  宜宾纸业  \n",
       "18  [苹果概念, 蓝宝石, 上证380, 本月解禁, 高市净率, 两年新股, 昨日涨停, 昨日连...  东尼电子  \n",
       "19  [太阳能, 石墨烯, 苹果概念, 大数据, 蓝宝石, 智能电视, 虚拟现实, OLED概念,...  锦富技术  \n",
       "20  [太阳能, 石墨烯, 苹果概念, 大数据, 蓝宝石, 智能电视, 虚拟现实, OLED概念,...  锦富技术  \n",
       "21  [大数据, 民营医院, 智能医疗, 户数减少, 参股金融, 定增预案, 昨日涨停, 上周弱势...  福瑞股份  \n",
       "22                   [两年新股, 昨日涨停, 送转超跌, 上周强势, 甘肃, 中药]  陇神戎发  \n",
       "23  [风能, 业绩预升, 破净资产, 昨日涨停, 近期新低, 风电, 供应链金融, 浙江, 通用...  宁波东力  \n",
       "24  [金融改革, 深证创新, 国证治理, 扣非亏损, 员工持股, 昨日涨停, 上周强势, 参股保...   海思科  \n",
       "25  [风能, 业绩预升, 破净资产, 昨日涨停, 近期新低, 风电, 供应链金融, 浙江, 通用...  宁波东力  \n",
       "26  [风能, 业绩预升, 破净资产, 昨日涨停, 近期新低, 风电, 供应链金融, 浙江, 通用...  宁波东力  \n",
       "27  [风能, 业绩预升, 破净资产, 昨日涨停, 近期新低, 风电, 供应链金融, 浙江, 通用...  宁波东力  \n",
       "28  [建筑节能, 小盘股, 重组股, 股权转让, 昨日涨停, 互联网保险, O2O概念, 乳业,...  先锋新材  \n",
       "29  [央企改革, 中证央企, 户数增加, 基金独门, 久不分红, 昨日涨停, 近期新低, 医疗器...  英特集团  \n",
       "30  [本月解禁, 定增预案, 重组预案, 昨日涨停, 送转超跌, 电子商务, 二胎概念, 乳业,...  科迪乳业  \n",
       "31  [本月解禁, 定增预案, 重组预案, 昨日涨停, 送转超跌, 电子商务, 二胎概念, 乳业,...  科迪乳业  \n",
       "32  [小盘股, 昨日涨停, 昨日连板, 上周强势, 近期新低, 迪士尼, 深圳国资改革, 深圳,...  通产丽星  \n",
       "33  [锂电池, 创业创新, 本月解禁, 已高送转, 基金独门, 高市盈率, 高市净率, 两年新股...  星云股份  \n",
       "34  [次新股, 深次新股, 业绩预降, 昨日涨停, 昨高换手, 活跃股, 近期异动, 新股与次新...  集泰股份  \n",
       "35  [次新股, 深次新股, 业绩预降, 昨日涨停, 昨高换手, 活跃股, 近期异动, 新股与次新...  集泰股份  \n",
       "36             [小盘股, 高质押股, 昨日涨停, 上周强势, 浙江, 通用设备, 制造业]  申科股份  \n",
       "37             [小盘股, 高质押股, 昨日涨停, 上周强势, 浙江, 通用设备, 制造业]  申科股份  \n",
       "38  [上海自贸, 新三板, 大数据, 互联金融, 电商概念, 网贷概念, 工业互联, 创业板指,...  上海钢联  \n",
       "39  [次新股, 深次新股, 业绩预降, 昨日涨停, 昨高换手, 活跃股, 近期异动, 新股与次新...  集泰股份  \n",
       "40  [稀缺资源, 太阳能, 锂电池, 超导概念, 钛金属, 中证央企, 亏损股, 股权转让, 证...  东方钽业  \n",
       "41  [稀缺资源, 太阳能, 锂电池, 超导概念, 钛金属, 中证央企, 亏损股, 股权转让, 证...  东方钽业  \n",
       "42  [稀缺资源, 太阳能, 锂电池, 超导概念, 钛金属, 中证央企, 亏损股, 股权转让, 证...  东方钽业  \n",
       "43  [皖江区域, 锂电池, 智能机器, 小盘股, 亏损股, 参股新股, 昨日涨停, 送转超跌, ...  泰尔股份  \n",
       "44  [皖江区域, 锂电池, 智能机器, 小盘股, 亏损股, 参股新股, 昨日涨停, 送转超跌, ...  泰尔股份  \n",
       "45  [次新股, 深次新股, 业绩预降, 昨日涨停, 昨高换手, 活跃股, 近期异动, 新股与次新...  集泰股份  \n",
       "46  [锂电池, 独角兽, 户数增加, 昨日涨停, 昨日连板, 昨高换手, 上周强势, 活跃股, ...  天华超净  \n",
       "47  [锂电池, 独角兽, 户数增加, 昨日涨停, 昨日连板, 昨高换手, 上周强势, 活跃股, ...  天华超净  \n",
       "48  [锂电池, 独角兽, 户数增加, 昨日涨停, 昨日连板, 昨高换手, 上周强势, 活跃股, ...  天华超净  "
      ]
     },
     "execution_count": 12,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "yd"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 6.5将异动的版块和时间对应起来"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {},
   "outputs": [],
   "source": [
    "res=pd.DataFrame([block.get_code(x).block_name for x in list(yd.code)], index=yd.set_index(['datetime','code']).index)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th>0</th>\n",
       "      <th>1</th>\n",
       "      <th>2</th>\n",
       "      <th>3</th>\n",
       "      <th>4</th>\n",
       "      <th>5</th>\n",
       "      <th>6</th>\n",
       "      <th>7</th>\n",
       "      <th>8</th>\n",
       "      <th>9</th>\n",
       "      <th>...</th>\n",
       "      <th>19</th>\n",
       "      <th>20</th>\n",
       "      <th>21</th>\n",
       "      <th>22</th>\n",
       "      <th>23</th>\n",
       "      <th>24</th>\n",
       "      <th>25</th>\n",
       "      <th>26</th>\n",
       "      <th>27</th>\n",
       "      <th>28</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>datetime</th>\n",
       "      <th>code</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th rowspan=\"5\" valign=\"top\">2018-07-13 09:31:00</th>\n",
       "      <th>002662</th>\n",
       "      <td>锂电池</td>\n",
       "      <td>新能源车</td>\n",
       "      <td>昨日涨停</td>\n",
       "      <td>昨日连板</td>\n",
       "      <td>送转超跌</td>\n",
       "      <td>上周强势</td>\n",
       "      <td>融资融券</td>\n",
       "      <td>新材料概念</td>\n",
       "      <td>新能源汽车</td>\n",
       "      <td>北京</td>\n",
       "      <td>...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>002694</th>\n",
       "      <td>业绩预升</td>\n",
       "      <td>户数增加</td>\n",
       "      <td>重组预案</td>\n",
       "      <td>昨日涨停</td>\n",
       "      <td>送转超跌</td>\n",
       "      <td>地下管网</td>\n",
       "      <td>体育产业</td>\n",
       "      <td>湖北</td>\n",
       "      <td>建筑材料</td>\n",
       "      <td>制造业</td>\n",
       "      <td>...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>300011</th>\n",
       "      <td>雄安新区</td>\n",
       "      <td>铁路基建</td>\n",
       "      <td>民营银行</td>\n",
       "      <td>创业300</td>\n",
       "      <td>业绩预升</td>\n",
       "      <td>昨日涨停</td>\n",
       "      <td>参股民营银行</td>\n",
       "      <td>高铁</td>\n",
       "      <td>一带一路</td>\n",
       "      <td>北京</td>\n",
       "      <td>...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>600793</th>\n",
       "      <td>成渝特区</td>\n",
       "      <td>小盘股</td>\n",
       "      <td>高市盈率</td>\n",
       "      <td>高市净率</td>\n",
       "      <td>微利股</td>\n",
       "      <td>久不分红</td>\n",
       "      <td>昨日涨停</td>\n",
       "      <td>股权转让</td>\n",
       "      <td>四川</td>\n",
       "      <td>造纸</td>\n",
       "      <td>...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>601028</th>\n",
       "      <td>锂电池</td>\n",
       "      <td>油气改革</td>\n",
       "      <td>高市盈率</td>\n",
       "      <td>股权转让</td>\n",
       "      <td>昨日涨停</td>\n",
       "      <td>地下管网</td>\n",
       "      <td>石墨烯</td>\n",
       "      <td>天然气</td>\n",
       "      <td>一带一路</td>\n",
       "      <td>通用设备</td>\n",
       "      <td>...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2018-07-13 09:32:00</th>\n",
       "      <th>002112</th>\n",
       "      <td>农村金融</td>\n",
       "      <td>智能电网</td>\n",
       "      <td>高管减持</td>\n",
       "      <td>小盘股</td>\n",
       "      <td>亏损股</td>\n",
       "      <td>被举牌</td>\n",
       "      <td>昨日涨停</td>\n",
       "      <td>昨日连板</td>\n",
       "      <td>上周强势</td>\n",
       "      <td>举牌</td>\n",
       "      <td>...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th rowspan=\"3\" valign=\"top\">2018-07-13 09:33:00</th>\n",
       "      <th>002694</th>\n",
       "      <td>业绩预升</td>\n",
       "      <td>户数增加</td>\n",
       "      <td>重组预案</td>\n",
       "      <td>昨日涨停</td>\n",
       "      <td>送转超跌</td>\n",
       "      <td>地下管网</td>\n",
       "      <td>体育产业</td>\n",
       "      <td>湖北</td>\n",
       "      <td>建筑材料</td>\n",
       "      <td>制造业</td>\n",
       "      <td>...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>002897</th>\n",
       "      <td>次新股</td>\n",
       "      <td>5G概念</td>\n",
       "      <td>深次新股</td>\n",
       "      <td>已高送转</td>\n",
       "      <td>昨日涨停</td>\n",
       "      <td>昨日连板</td>\n",
       "      <td>昨高换手</td>\n",
       "      <td>上周强势</td>\n",
       "      <td>新股与次新股</td>\n",
       "      <td>4G5G</td>\n",
       "      <td>...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>601330</th>\n",
       "      <td>次新股</td>\n",
       "      <td>含H股</td>\n",
       "      <td>生物质能</td>\n",
       "      <td>高市净率</td>\n",
       "      <td>昨日涨停</td>\n",
       "      <td>昨高换手</td>\n",
       "      <td>次新开板</td>\n",
       "      <td>近期异动</td>\n",
       "      <td>节能环保</td>\n",
       "      <td>新股与次新股</td>\n",
       "      <td>...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th rowspan=\"3\" valign=\"top\">2018-07-13 09:35:00</th>\n",
       "      <th>300062</th>\n",
       "      <td>海峡西岸</td>\n",
       "      <td>铁路基建</td>\n",
       "      <td>太阳能</td>\n",
       "      <td>充电桩</td>\n",
       "      <td>智能电网</td>\n",
       "      <td>业绩预降</td>\n",
       "      <td>小盘股</td>\n",
       "      <td>重组预案</td>\n",
       "      <td>昨日涨停</td>\n",
       "      <td>送转超跌</td>\n",
       "      <td>...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>601330</th>\n",
       "      <td>次新股</td>\n",
       "      <td>含H股</td>\n",
       "      <td>生物质能</td>\n",
       "      <td>高市净率</td>\n",
       "      <td>昨日涨停</td>\n",
       "      <td>昨高换手</td>\n",
       "      <td>次新开板</td>\n",
       "      <td>近期异动</td>\n",
       "      <td>节能环保</td>\n",
       "      <td>新股与次新股</td>\n",
       "      <td>...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>603690</th>\n",
       "      <td>芯片</td>\n",
       "      <td>本月解禁</td>\n",
       "      <td>基金独门</td>\n",
       "      <td>高市盈率</td>\n",
       "      <td>高市净率</td>\n",
       "      <td>两年新股</td>\n",
       "      <td>定增预案</td>\n",
       "      <td>重组预案</td>\n",
       "      <td>股权激励</td>\n",
       "      <td>昨日涨停</td>\n",
       "      <td>...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th rowspan=\"2\" valign=\"top\">2018-07-13 09:36:00</th>\n",
       "      <th>300128</th>\n",
       "      <td>太阳能</td>\n",
       "      <td>石墨烯</td>\n",
       "      <td>苹果概念</td>\n",
       "      <td>大数据</td>\n",
       "      <td>蓝宝石</td>\n",
       "      <td>智能电视</td>\n",
       "      <td>虚拟现实</td>\n",
       "      <td>OLED概念</td>\n",
       "      <td>创业300</td>\n",
       "      <td>高市盈率</td>\n",
       "      <td>...</td>\n",
       "      <td>物联网</td>\n",
       "      <td>移动互联网</td>\n",
       "      <td>云计算</td>\n",
       "      <td>智能家居</td>\n",
       "      <td>光学光电子</td>\n",
       "      <td>深股通</td>\n",
       "      <td>融资融券标的</td>\n",
       "      <td>制造业</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>300648</th>\n",
       "      <td>锂电池</td>\n",
       "      <td>创业创新</td>\n",
       "      <td>本月解禁</td>\n",
       "      <td>已高送转</td>\n",
       "      <td>基金独门</td>\n",
       "      <td>高市盈率</td>\n",
       "      <td>高市净率</td>\n",
       "      <td>两年新股</td>\n",
       "      <td>昨日涨停</td>\n",
       "      <td>昨高换手</td>\n",
       "      <td>...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2018-07-13 09:40:00</th>\n",
       "      <th>603703</th>\n",
       "      <td>量子通信</td>\n",
       "      <td>小盘股</td>\n",
       "      <td>昨日涨停</td>\n",
       "      <td>家用电器</td>\n",
       "      <td>宽带中国</td>\n",
       "      <td>浙江</td>\n",
       "      <td>通信设备</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2018-07-13 09:44:00</th>\n",
       "      <th>603690</th>\n",
       "      <td>芯片</td>\n",
       "      <td>本月解禁</td>\n",
       "      <td>基金独门</td>\n",
       "      <td>高市盈率</td>\n",
       "      <td>高市净率</td>\n",
       "      <td>两年新股</td>\n",
       "      <td>定增预案</td>\n",
       "      <td>重组预案</td>\n",
       "      <td>股权激励</td>\n",
       "      <td>昨日涨停</td>\n",
       "      <td>...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2018-07-13 09:46:00</th>\n",
       "      <th>002897</th>\n",
       "      <td>次新股</td>\n",
       "      <td>5G概念</td>\n",
       "      <td>深次新股</td>\n",
       "      <td>已高送转</td>\n",
       "      <td>昨日涨停</td>\n",
       "      <td>昨日连板</td>\n",
       "      <td>昨高换手</td>\n",
       "      <td>上周强势</td>\n",
       "      <td>新股与次新股</td>\n",
       "      <td>4G5G</td>\n",
       "      <td>...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2018-07-13 09:58:00</th>\n",
       "      <th>600793</th>\n",
       "      <td>成渝特区</td>\n",
       "      <td>小盘股</td>\n",
       "      <td>高市盈率</td>\n",
       "      <td>高市净率</td>\n",
       "      <td>微利股</td>\n",
       "      <td>久不分红</td>\n",
       "      <td>昨日涨停</td>\n",
       "      <td>股权转让</td>\n",
       "      <td>四川</td>\n",
       "      <td>造纸</td>\n",
       "      <td>...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2018-07-13 10:04:00</th>\n",
       "      <th>603595</th>\n",
       "      <td>苹果概念</td>\n",
       "      <td>蓝宝石</td>\n",
       "      <td>上证380</td>\n",
       "      <td>本月解禁</td>\n",
       "      <td>高市净率</td>\n",
       "      <td>两年新股</td>\n",
       "      <td>昨日涨停</td>\n",
       "      <td>昨日连板</td>\n",
       "      <td>上周强势</td>\n",
       "      <td>白马股</td>\n",
       "      <td>...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2018-07-13 10:08:00</th>\n",
       "      <th>300128</th>\n",
       "      <td>太阳能</td>\n",
       "      <td>石墨烯</td>\n",
       "      <td>苹果概念</td>\n",
       "      <td>大数据</td>\n",
       "      <td>蓝宝石</td>\n",
       "      <td>智能电视</td>\n",
       "      <td>虚拟现实</td>\n",
       "      <td>OLED概念</td>\n",
       "      <td>创业300</td>\n",
       "      <td>高市盈率</td>\n",
       "      <td>...</td>\n",
       "      <td>物联网</td>\n",
       "      <td>移动互联网</td>\n",
       "      <td>云计算</td>\n",
       "      <td>智能家居</td>\n",
       "      <td>光学光电子</td>\n",
       "      <td>深股通</td>\n",
       "      <td>融资融券标的</td>\n",
       "      <td>制造业</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2018-07-13 10:09:00</th>\n",
       "      <th>300128</th>\n",
       "      <td>太阳能</td>\n",
       "      <td>石墨烯</td>\n",
       "      <td>苹果概念</td>\n",
       "      <td>大数据</td>\n",
       "      <td>蓝宝石</td>\n",
       "      <td>智能电视</td>\n",
       "      <td>虚拟现实</td>\n",
       "      <td>OLED概念</td>\n",
       "      <td>创业300</td>\n",
       "      <td>高市盈率</td>\n",
       "      <td>...</td>\n",
       "      <td>物联网</td>\n",
       "      <td>移动互联网</td>\n",
       "      <td>云计算</td>\n",
       "      <td>智能家居</td>\n",
       "      <td>光学光电子</td>\n",
       "      <td>深股通</td>\n",
       "      <td>融资融券标的</td>\n",
       "      <td>制造业</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2018-07-13 10:10:00</th>\n",
       "      <th>300049</th>\n",
       "      <td>大数据</td>\n",
       "      <td>民营医院</td>\n",
       "      <td>智能医疗</td>\n",
       "      <td>户数减少</td>\n",
       "      <td>参股金融</td>\n",
       "      <td>定增预案</td>\n",
       "      <td>昨日涨停</td>\n",
       "      <td>上周弱势</td>\n",
       "      <td>近期新低</td>\n",
       "      <td>互联网医疗</td>\n",
       "      <td>...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2018-07-13 10:23:00</th>\n",
       "      <th>300534</th>\n",
       "      <td>两年新股</td>\n",
       "      <td>昨日涨停</td>\n",
       "      <td>送转超跌</td>\n",
       "      <td>上周强势</td>\n",
       "      <td>甘肃</td>\n",
       "      <td>中药</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th rowspan=\"2\" valign=\"top\">2018-07-13 10:37:00</th>\n",
       "      <th>002164</th>\n",
       "      <td>风能</td>\n",
       "      <td>业绩预升</td>\n",
       "      <td>破净资产</td>\n",
       "      <td>昨日涨停</td>\n",
       "      <td>近期新低</td>\n",
       "      <td>风电</td>\n",
       "      <td>供应链金融</td>\n",
       "      <td>浙江</td>\n",
       "      <td>通用设备</td>\n",
       "      <td>制造业</td>\n",
       "      <td>...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>002653</th>\n",
       "      <td>金融改革</td>\n",
       "      <td>深证创新</td>\n",
       "      <td>国证治理</td>\n",
       "      <td>扣非亏损</td>\n",
       "      <td>员工持股</td>\n",
       "      <td>昨日涨停</td>\n",
       "      <td>上周强势</td>\n",
       "      <td>参股保险</td>\n",
       "      <td>融资融券</td>\n",
       "      <td>生物医药</td>\n",
       "      <td>...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2018-07-13 10:39:00</th>\n",
       "      <th>002164</th>\n",
       "      <td>风能</td>\n",
       "      <td>业绩预升</td>\n",
       "      <td>破净资产</td>\n",
       "      <td>昨日涨停</td>\n",
       "      <td>近期新低</td>\n",
       "      <td>风电</td>\n",
       "      <td>供应链金融</td>\n",
       "      <td>浙江</td>\n",
       "      <td>通用设备</td>\n",
       "      <td>制造业</td>\n",
       "      <td>...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2018-07-13 10:41:00</th>\n",
       "      <th>002164</th>\n",
       "      <td>风能</td>\n",
       "      <td>业绩预升</td>\n",
       "      <td>破净资产</td>\n",
       "      <td>昨日涨停</td>\n",
       "      <td>近期新低</td>\n",
       "      <td>风电</td>\n",
       "      <td>供应链金融</td>\n",
       "      <td>浙江</td>\n",
       "      <td>通用设备</td>\n",
       "      <td>制造业</td>\n",
       "      <td>...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2018-07-13 10:42:00</th>\n",
       "      <th>002164</th>\n",
       "      <td>风能</td>\n",
       "      <td>业绩预升</td>\n",
       "      <td>破净资产</td>\n",
       "      <td>昨日涨停</td>\n",
       "      <td>近期新低</td>\n",
       "      <td>风电</td>\n",
       "      <td>供应链金融</td>\n",
       "      <td>浙江</td>\n",
       "      <td>通用设备</td>\n",
       "      <td>制造业</td>\n",
       "      <td>...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2018-07-13 11:02:00</th>\n",
       "      <th>300163</th>\n",
       "      <td>建筑节能</td>\n",
       "      <td>小盘股</td>\n",
       "      <td>重组股</td>\n",
       "      <td>股权转让</td>\n",
       "      <td>昨日涨停</td>\n",
       "      <td>互联网保险</td>\n",
       "      <td>O2O概念</td>\n",
       "      <td>乳业</td>\n",
       "      <td>浙江</td>\n",
       "      <td>化学制品</td>\n",
       "      <td>...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2018-07-13 11:05:00</th>\n",
       "      <th>000411</th>\n",
       "      <td>央企改革</td>\n",
       "      <td>中证央企</td>\n",
       "      <td>户数增加</td>\n",
       "      <td>基金独门</td>\n",
       "      <td>久不分红</td>\n",
       "      <td>昨日涨停</td>\n",
       "      <td>近期新低</td>\n",
       "      <td>医疗器械</td>\n",
       "      <td>浙江</td>\n",
       "      <td>医药商业</td>\n",
       "      <td>...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2018-07-13 11:06:00</th>\n",
       "      <th>002770</th>\n",
       "      <td>本月解禁</td>\n",
       "      <td>定增预案</td>\n",
       "      <td>重组预案</td>\n",
       "      <td>昨日涨停</td>\n",
       "      <td>送转超跌</td>\n",
       "      <td>电子商务</td>\n",
       "      <td>二胎概念</td>\n",
       "      <td>乳业</td>\n",
       "      <td>河南</td>\n",
       "      <td>食品加工制造</td>\n",
       "      <td>...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2018-07-13 11:07:00</th>\n",
       "      <th>002770</th>\n",
       "      <td>本月解禁</td>\n",
       "      <td>定增预案</td>\n",
       "      <td>重组预案</td>\n",
       "      <td>昨日涨停</td>\n",
       "      <td>送转超跌</td>\n",
       "      <td>电子商务</td>\n",
       "      <td>二胎概念</td>\n",
       "      <td>乳业</td>\n",
       "      <td>河南</td>\n",
       "      <td>食品加工制造</td>\n",
       "      <td>...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th rowspan=\"2\" valign=\"top\">2018-07-13 13:01:00</th>\n",
       "      <th>002243</th>\n",
       "      <td>小盘股</td>\n",
       "      <td>昨日涨停</td>\n",
       "      <td>昨日连板</td>\n",
       "      <td>上周强势</td>\n",
       "      <td>近期新低</td>\n",
       "      <td>迪士尼</td>\n",
       "      <td>深圳国资改革</td>\n",
       "      <td>深圳</td>\n",
       "      <td>包装印刷</td>\n",
       "      <td>制造业</td>\n",
       "      <td>...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>300648</th>\n",
       "      <td>锂电池</td>\n",
       "      <td>创业创新</td>\n",
       "      <td>本月解禁</td>\n",
       "      <td>已高送转</td>\n",
       "      <td>基金独门</td>\n",
       "      <td>高市盈率</td>\n",
       "      <td>高市净率</td>\n",
       "      <td>两年新股</td>\n",
       "      <td>昨日涨停</td>\n",
       "      <td>昨高换手</td>\n",
       "      <td>...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2018-07-13 13:10:00</th>\n",
       "      <th>002909</th>\n",
       "      <td>次新股</td>\n",
       "      <td>深次新股</td>\n",
       "      <td>业绩预降</td>\n",
       "      <td>昨日涨停</td>\n",
       "      <td>昨高换手</td>\n",
       "      <td>活跃股</td>\n",
       "      <td>近期异动</td>\n",
       "      <td>新股与次新股</td>\n",
       "      <td>广东其它</td>\n",
       "      <td>None</td>\n",
       "      <td>...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2018-07-13 13:12:00</th>\n",
       "      <th>002909</th>\n",
       "      <td>次新股</td>\n",
       "      <td>深次新股</td>\n",
       "      <td>业绩预降</td>\n",
       "      <td>昨日涨停</td>\n",
       "      <td>昨高换手</td>\n",
       "      <td>活跃股</td>\n",
       "      <td>近期异动</td>\n",
       "      <td>新股与次新股</td>\n",
       "      <td>广东其它</td>\n",
       "      <td>None</td>\n",
       "      <td>...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2018-07-13 13:16:00</th>\n",
       "      <th>002633</th>\n",
       "      <td>小盘股</td>\n",
       "      <td>高质押股</td>\n",
       "      <td>昨日涨停</td>\n",
       "      <td>上周强势</td>\n",
       "      <td>浙江</td>\n",
       "      <td>通用设备</td>\n",
       "      <td>制造业</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2018-07-13 13:51:00</th>\n",
       "      <th>002633</th>\n",
       "      <td>小盘股</td>\n",
       "      <td>高质押股</td>\n",
       "      <td>昨日涨停</td>\n",
       "      <td>上周强势</td>\n",
       "      <td>浙江</td>\n",
       "      <td>通用设备</td>\n",
       "      <td>制造业</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2018-07-13 13:52:00</th>\n",
       "      <th>300226</th>\n",
       "      <td>上海自贸</td>\n",
       "      <td>新三板</td>\n",
       "      <td>大数据</td>\n",
       "      <td>互联金融</td>\n",
       "      <td>电商概念</td>\n",
       "      <td>网贷概念</td>\n",
       "      <td>工业互联</td>\n",
       "      <td>创业板指</td>\n",
       "      <td>创业300</td>\n",
       "      <td>计算机指</td>\n",
       "      <td>...</td>\n",
       "      <td>P2P概念</td>\n",
       "      <td>融资融券</td>\n",
       "      <td>上海自贸区</td>\n",
       "      <td>物流电商平台</td>\n",
       "      <td>上海其它</td>\n",
       "      <td>通信服务</td>\n",
       "      <td>传播与文化产业</td>\n",
       "      <td>信息技术业</td>\n",
       "      <td>深股通</td>\n",
       "      <td>融资融券标的</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2018-07-13 14:09:00</th>\n",
       "      <th>002909</th>\n",
       "      <td>次新股</td>\n",
       "      <td>深次新股</td>\n",
       "      <td>业绩预降</td>\n",
       "      <td>昨日涨停</td>\n",
       "      <td>昨高换手</td>\n",
       "      <td>活跃股</td>\n",
       "      <td>近期异动</td>\n",
       "      <td>新股与次新股</td>\n",
       "      <td>广东其它</td>\n",
       "      <td>None</td>\n",
       "      <td>...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2018-07-13 14:10:00</th>\n",
       "      <th>000962</th>\n",
       "      <td>稀缺资源</td>\n",
       "      <td>太阳能</td>\n",
       "      <td>锂电池</td>\n",
       "      <td>超导概念</td>\n",
       "      <td>钛金属</td>\n",
       "      <td>中证央企</td>\n",
       "      <td>亏损股</td>\n",
       "      <td>股权转让</td>\n",
       "      <td>证金持股</td>\n",
       "      <td>昨日涨停</td>\n",
       "      <td>...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2018-07-13 14:13:00</th>\n",
       "      <th>000962</th>\n",
       "      <td>稀缺资源</td>\n",
       "      <td>太阳能</td>\n",
       "      <td>锂电池</td>\n",
       "      <td>超导概念</td>\n",
       "      <td>钛金属</td>\n",
       "      <td>中证央企</td>\n",
       "      <td>亏损股</td>\n",
       "      <td>股权转让</td>\n",
       "      <td>证金持股</td>\n",
       "      <td>昨日涨停</td>\n",
       "      <td>...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2018-07-13 14:14:00</th>\n",
       "      <th>000962</th>\n",
       "      <td>稀缺资源</td>\n",
       "      <td>太阳能</td>\n",
       "      <td>锂电池</td>\n",
       "      <td>超导概念</td>\n",
       "      <td>钛金属</td>\n",
       "      <td>中证央企</td>\n",
       "      <td>亏损股</td>\n",
       "      <td>股权转让</td>\n",
       "      <td>证金持股</td>\n",
       "      <td>昨日涨停</td>\n",
       "      <td>...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2018-07-13 14:19:00</th>\n",
       "      <th>002347</th>\n",
       "      <td>皖江区域</td>\n",
       "      <td>锂电池</td>\n",
       "      <td>智能机器</td>\n",
       "      <td>小盘股</td>\n",
       "      <td>亏损股</td>\n",
       "      <td>参股新股</td>\n",
       "      <td>昨日涨停</td>\n",
       "      <td>送转超跌</td>\n",
       "      <td>工业4.0</td>\n",
       "      <td>机器人概念</td>\n",
       "      <td>...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2018-07-13 14:20:00</th>\n",
       "      <th>002347</th>\n",
       "      <td>皖江区域</td>\n",
       "      <td>锂电池</td>\n",
       "      <td>智能机器</td>\n",
       "      <td>小盘股</td>\n",
       "      <td>亏损股</td>\n",
       "      <td>参股新股</td>\n",
       "      <td>昨日涨停</td>\n",
       "      <td>送转超跌</td>\n",
       "      <td>工业4.0</td>\n",
       "      <td>机器人概念</td>\n",
       "      <td>...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2018-07-13 14:26:00</th>\n",
       "      <th>002909</th>\n",
       "      <td>次新股</td>\n",
       "      <td>深次新股</td>\n",
       "      <td>业绩预降</td>\n",
       "      <td>昨日涨停</td>\n",
       "      <td>昨高换手</td>\n",
       "      <td>活跃股</td>\n",
       "      <td>近期异动</td>\n",
       "      <td>新股与次新股</td>\n",
       "      <td>广东其它</td>\n",
       "      <td>None</td>\n",
       "      <td>...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2018-07-13 14:50:00</th>\n",
       "      <th>300390</th>\n",
       "      <td>锂电池</td>\n",
       "      <td>独角兽</td>\n",
       "      <td>户数增加</td>\n",
       "      <td>昨日涨停</td>\n",
       "      <td>昨日连板</td>\n",
       "      <td>昨高换手</td>\n",
       "      <td>上周强势</td>\n",
       "      <td>活跃股</td>\n",
       "      <td>近期新高</td>\n",
       "      <td>近期异动</td>\n",
       "      <td>...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2018-07-13 14:52:00</th>\n",
       "      <th>300390</th>\n",
       "      <td>锂电池</td>\n",
       "      <td>独角兽</td>\n",
       "      <td>户数增加</td>\n",
       "      <td>昨日涨停</td>\n",
       "      <td>昨日连板</td>\n",
       "      <td>昨高换手</td>\n",
       "      <td>上周强势</td>\n",
       "      <td>活跃股</td>\n",
       "      <td>近期新高</td>\n",
       "      <td>近期异动</td>\n",
       "      <td>...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2018-07-13 14:54:00</th>\n",
       "      <th>300390</th>\n",
       "      <td>锂电池</td>\n",
       "      <td>独角兽</td>\n",
       "      <td>户数增加</td>\n",
       "      <td>昨日涨停</td>\n",
       "      <td>昨日连板</td>\n",
       "      <td>昨高换手</td>\n",
       "      <td>上周强势</td>\n",
       "      <td>活跃股</td>\n",
       "      <td>近期新高</td>\n",
       "      <td>近期异动</td>\n",
       "      <td>...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>49 rows × 29 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "                              0     1      2      3     4      5       6   \\\n",
       "datetime            code                                                    \n",
       "2018-07-13 09:31:00 002662   锂电池  新能源车   昨日涨停   昨日连板  送转超跌   上周强势    融资融券   \n",
       "                    002694  业绩预升  户数增加   重组预案   昨日涨停  送转超跌   地下管网    体育产业   \n",
       "                    300011  雄安新区  铁路基建   民营银行  创业300  业绩预升   昨日涨停  参股民营银行   \n",
       "                    600793  成渝特区   小盘股   高市盈率   高市净率   微利股   久不分红    昨日涨停   \n",
       "                    601028   锂电池  油气改革   高市盈率   股权转让  昨日涨停   地下管网     石墨烯   \n",
       "2018-07-13 09:32:00 002112  农村金融  智能电网   高管减持    小盘股   亏损股    被举牌    昨日涨停   \n",
       "2018-07-13 09:33:00 002694  业绩预升  户数增加   重组预案   昨日涨停  送转超跌   地下管网    体育产业   \n",
       "                    002897   次新股  5G概念   深次新股   已高送转  昨日涨停   昨日连板    昨高换手   \n",
       "                    601330   次新股   含H股   生物质能   高市净率  昨日涨停   昨高换手    次新开板   \n",
       "2018-07-13 09:35:00 300062  海峡西岸  铁路基建    太阳能    充电桩  智能电网   业绩预降     小盘股   \n",
       "                    601330   次新股   含H股   生物质能   高市净率  昨日涨停   昨高换手    次新开板   \n",
       "                    603690    芯片  本月解禁   基金独门   高市盈率  高市净率   两年新股    定增预案   \n",
       "2018-07-13 09:36:00 300128   太阳能   石墨烯   苹果概念    大数据   蓝宝石   智能电视    虚拟现实   \n",
       "                    300648   锂电池  创业创新   本月解禁   已高送转  基金独门   高市盈率    高市净率   \n",
       "2018-07-13 09:40:00 603703  量子通信   小盘股   昨日涨停   家用电器  宽带中国     浙江    通信设备   \n",
       "2018-07-13 09:44:00 603690    芯片  本月解禁   基金独门   高市盈率  高市净率   两年新股    定增预案   \n",
       "2018-07-13 09:46:00 002897   次新股  5G概念   深次新股   已高送转  昨日涨停   昨日连板    昨高换手   \n",
       "2018-07-13 09:58:00 600793  成渝特区   小盘股   高市盈率   高市净率   微利股   久不分红    昨日涨停   \n",
       "2018-07-13 10:04:00 603595  苹果概念   蓝宝石  上证380   本月解禁  高市净率   两年新股    昨日涨停   \n",
       "2018-07-13 10:08:00 300128   太阳能   石墨烯   苹果概念    大数据   蓝宝石   智能电视    虚拟现实   \n",
       "2018-07-13 10:09:00 300128   太阳能   石墨烯   苹果概念    大数据   蓝宝石   智能电视    虚拟现实   \n",
       "2018-07-13 10:10:00 300049   大数据  民营医院   智能医疗   户数减少  参股金融   定增预案    昨日涨停   \n",
       "2018-07-13 10:23:00 300534  两年新股  昨日涨停   送转超跌   上周强势    甘肃     中药    None   \n",
       "2018-07-13 10:37:00 002164    风能  业绩预升   破净资产   昨日涨停  近期新低     风电   供应链金融   \n",
       "                    002653  金融改革  深证创新   国证治理   扣非亏损  员工持股   昨日涨停    上周强势   \n",
       "2018-07-13 10:39:00 002164    风能  业绩预升   破净资产   昨日涨停  近期新低     风电   供应链金融   \n",
       "2018-07-13 10:41:00 002164    风能  业绩预升   破净资产   昨日涨停  近期新低     风电   供应链金融   \n",
       "2018-07-13 10:42:00 002164    风能  业绩预升   破净资产   昨日涨停  近期新低     风电   供应链金融   \n",
       "2018-07-13 11:02:00 300163  建筑节能   小盘股    重组股   股权转让  昨日涨停  互联网保险   O2O概念   \n",
       "2018-07-13 11:05:00 000411  央企改革  中证央企   户数增加   基金独门  久不分红   昨日涨停    近期新低   \n",
       "2018-07-13 11:06:00 002770  本月解禁  定增预案   重组预案   昨日涨停  送转超跌   电子商务    二胎概念   \n",
       "2018-07-13 11:07:00 002770  本月解禁  定增预案   重组预案   昨日涨停  送转超跌   电子商务    二胎概念   \n",
       "2018-07-13 13:01:00 002243   小盘股  昨日涨停   昨日连板   上周强势  近期新低    迪士尼  深圳国资改革   \n",
       "                    300648   锂电池  创业创新   本月解禁   已高送转  基金独门   高市盈率    高市净率   \n",
       "2018-07-13 13:10:00 002909   次新股  深次新股   业绩预降   昨日涨停  昨高换手    活跃股    近期异动   \n",
       "2018-07-13 13:12:00 002909   次新股  深次新股   业绩预降   昨日涨停  昨高换手    活跃股    近期异动   \n",
       "2018-07-13 13:16:00 002633   小盘股  高质押股   昨日涨停   上周强势    浙江   通用设备     制造业   \n",
       "2018-07-13 13:51:00 002633   小盘股  高质押股   昨日涨停   上周强势    浙江   通用设备     制造业   \n",
       "2018-07-13 13:52:00 300226  上海自贸   新三板    大数据   互联金融  电商概念   网贷概念    工业互联   \n",
       "2018-07-13 14:09:00 002909   次新股  深次新股   业绩预降   昨日涨停  昨高换手    活跃股    近期异动   \n",
       "2018-07-13 14:10:00 000962  稀缺资源   太阳能    锂电池   超导概念   钛金属   中证央企     亏损股   \n",
       "2018-07-13 14:13:00 000962  稀缺资源   太阳能    锂电池   超导概念   钛金属   中证央企     亏损股   \n",
       "2018-07-13 14:14:00 000962  稀缺资源   太阳能    锂电池   超导概念   钛金属   中证央企     亏损股   \n",
       "2018-07-13 14:19:00 002347  皖江区域   锂电池   智能机器    小盘股   亏损股   参股新股    昨日涨停   \n",
       "2018-07-13 14:20:00 002347  皖江区域   锂电池   智能机器    小盘股   亏损股   参股新股    昨日涨停   \n",
       "2018-07-13 14:26:00 002909   次新股  深次新股   业绩预降   昨日涨停  昨高换手    活跃股    近期异动   \n",
       "2018-07-13 14:50:00 300390   锂电池   独角兽   户数增加   昨日涨停  昨日连板   昨高换手    上周强势   \n",
       "2018-07-13 14:52:00 300390   锂电池   独角兽   户数增加   昨日涨停  昨日连板   昨高换手    上周强势   \n",
       "2018-07-13 14:54:00 300390   锂电池   独角兽   户数增加   昨日涨停  昨日连板   昨高换手    上周强势   \n",
       "\n",
       "                                7       8       9    ...       19     20  \\\n",
       "datetime            code                             ...                   \n",
       "2018-07-13 09:31:00 002662   新材料概念   新能源汽车      北京   ...     None   None   \n",
       "                    002694      湖北    建筑材料     制造业   ...     None   None   \n",
       "                    300011      高铁    一带一路      北京   ...     None   None   \n",
       "                    600793    股权转让      四川      造纸   ...     None   None   \n",
       "                    601028     天然气    一带一路    通用设备   ...     None   None   \n",
       "2018-07-13 09:32:00 002112    昨日连板    上周强势      举牌   ...     None   None   \n",
       "2018-07-13 09:33:00 002694      湖北    建筑材料     制造业   ...     None   None   \n",
       "                    002897    上周强势  新股与次新股    4G5G   ...     None   None   \n",
       "                    601330    近期异动    节能环保  新股与次新股   ...     None   None   \n",
       "2018-07-13 09:35:00 300062    重组预案    昨日涨停    送转超跌   ...     None   None   \n",
       "                    601330    近期异动    节能环保  新股与次新股   ...     None   None   \n",
       "                    603690    重组预案    股权激励    昨日涨停   ...     None   None   \n",
       "2018-07-13 09:36:00 300128  OLED概念   创业300    高市盈率   ...      物联网  移动互联网   \n",
       "                    300648    两年新股    昨日涨停    昨高换手   ...     None   None   \n",
       "2018-07-13 09:40:00 603703    None    None    None   ...     None   None   \n",
       "2018-07-13 09:44:00 603690    重组预案    股权激励    昨日涨停   ...     None   None   \n",
       "2018-07-13 09:46:00 002897    上周强势  新股与次新股    4G5G   ...     None   None   \n",
       "2018-07-13 09:58:00 600793    股权转让      四川      造纸   ...     None   None   \n",
       "2018-07-13 10:04:00 603595    昨日连板    上周强势     白马股   ...     None   None   \n",
       "2018-07-13 10:08:00 300128  OLED概念   创业300    高市盈率   ...      物联网  移动互联网   \n",
       "2018-07-13 10:09:00 300128  OLED概念   创业300    高市盈率   ...      物联网  移动互联网   \n",
       "2018-07-13 10:10:00 300049    上周弱势    近期新低   互联网医疗   ...     None   None   \n",
       "2018-07-13 10:23:00 300534    None    None    None   ...     None   None   \n",
       "2018-07-13 10:37:00 002164      浙江    通用设备     制造业   ...     None   None   \n",
       "                    002653    参股保险    融资融券    生物医药   ...     None   None   \n",
       "2018-07-13 10:39:00 002164      浙江    通用设备     制造业   ...     None   None   \n",
       "2018-07-13 10:41:00 002164      浙江    通用设备     制造业   ...     None   None   \n",
       "2018-07-13 10:42:00 002164      浙江    通用设备     制造业   ...     None   None   \n",
       "2018-07-13 11:02:00 300163      乳业      浙江    化学制品   ...     None   None   \n",
       "2018-07-13 11:05:00 000411    医疗器械      浙江    医药商业   ...     None   None   \n",
       "2018-07-13 11:06:00 002770      乳业      河南  食品加工制造   ...     None   None   \n",
       "2018-07-13 11:07:00 002770      乳业      河南  食品加工制造   ...     None   None   \n",
       "2018-07-13 13:01:00 002243      深圳    包装印刷     制造业   ...     None   None   \n",
       "                    300648    两年新股    昨日涨停    昨高换手   ...     None   None   \n",
       "2018-07-13 13:10:00 002909  新股与次新股    广东其它    None   ...     None   None   \n",
       "2018-07-13 13:12:00 002909  新股与次新股    广东其它    None   ...     None   None   \n",
       "2018-07-13 13:16:00 002633    None    None    None   ...     None   None   \n",
       "2018-07-13 13:51:00 002633    None    None    None   ...     None   None   \n",
       "2018-07-13 13:52:00 300226    创业板指   创业300    计算机指   ...    P2P概念   融资融券   \n",
       "2018-07-13 14:09:00 002909  新股与次新股    广东其它    None   ...     None   None   \n",
       "2018-07-13 14:10:00 000962    股权转让    证金持股    昨日涨停   ...     None   None   \n",
       "2018-07-13 14:13:00 000962    股权转让    证金持股    昨日涨停   ...     None   None   \n",
       "2018-07-13 14:14:00 000962    股权转让    证金持股    昨日涨停   ...     None   None   \n",
       "2018-07-13 14:19:00 002347    送转超跌   工业4.0   机器人概念   ...     None   None   \n",
       "2018-07-13 14:20:00 002347    送转超跌   工业4.0   机器人概念   ...     None   None   \n",
       "2018-07-13 14:26:00 002909  新股与次新股    广东其它    None   ...     None   None   \n",
       "2018-07-13 14:50:00 300390     活跃股    近期新高    近期异动   ...     None   None   \n",
       "2018-07-13 14:52:00 300390     活跃股    近期新高    近期异动   ...     None   None   \n",
       "2018-07-13 14:54:00 300390     活跃股    近期新高    近期异动   ...     None   None   \n",
       "\n",
       "                               21      22     23    24       25     26    27  \\\n",
       "datetime            code                                                       \n",
       "2018-07-13 09:31:00 002662   None    None   None  None     None   None  None   \n",
       "                    002694   None    None   None  None     None   None  None   \n",
       "                    300011   None    None   None  None     None   None  None   \n",
       "                    600793   None    None   None  None     None   None  None   \n",
       "                    601028   None    None   None  None     None   None  None   \n",
       "2018-07-13 09:32:00 002112   None    None   None  None     None   None  None   \n",
       "2018-07-13 09:33:00 002694   None    None   None  None     None   None  None   \n",
       "                    002897   None    None   None  None     None   None  None   \n",
       "                    601330   None    None   None  None     None   None  None   \n",
       "2018-07-13 09:35:00 300062   None    None   None  None     None   None  None   \n",
       "                    601330   None    None   None  None     None   None  None   \n",
       "                    603690   None    None   None  None     None   None  None   \n",
       "2018-07-13 09:36:00 300128    云计算    智能家居  光学光电子   深股通   融资融券标的    制造业  None   \n",
       "                    300648   None    None   None  None     None   None  None   \n",
       "2018-07-13 09:40:00 603703   None    None   None  None     None   None  None   \n",
       "2018-07-13 09:44:00 603690   None    None   None  None     None   None  None   \n",
       "2018-07-13 09:46:00 002897   None    None   None  None     None   None  None   \n",
       "2018-07-13 09:58:00 600793   None    None   None  None     None   None  None   \n",
       "2018-07-13 10:04:00 603595   None    None   None  None     None   None  None   \n",
       "2018-07-13 10:08:00 300128    云计算    智能家居  光学光电子   深股通   融资融券标的    制造业  None   \n",
       "2018-07-13 10:09:00 300128    云计算    智能家居  光学光电子   深股通   融资融券标的    制造业  None   \n",
       "2018-07-13 10:10:00 300049   None    None   None  None     None   None  None   \n",
       "2018-07-13 10:23:00 300534   None    None   None  None     None   None  None   \n",
       "2018-07-13 10:37:00 002164   None    None   None  None     None   None  None   \n",
       "                    002653   None    None   None  None     None   None  None   \n",
       "2018-07-13 10:39:00 002164   None    None   None  None     None   None  None   \n",
       "2018-07-13 10:41:00 002164   None    None   None  None     None   None  None   \n",
       "2018-07-13 10:42:00 002164   None    None   None  None     None   None  None   \n",
       "2018-07-13 11:02:00 300163   None    None   None  None     None   None  None   \n",
       "2018-07-13 11:05:00 000411   None    None   None  None     None   None  None   \n",
       "2018-07-13 11:06:00 002770   None    None   None  None     None   None  None   \n",
       "2018-07-13 11:07:00 002770   None    None   None  None     None   None  None   \n",
       "2018-07-13 13:01:00 002243   None    None   None  None     None   None  None   \n",
       "                    300648   None    None   None  None     None   None  None   \n",
       "2018-07-13 13:10:00 002909   None    None   None  None     None   None  None   \n",
       "2018-07-13 13:12:00 002909   None    None   None  None     None   None  None   \n",
       "2018-07-13 13:16:00 002633   None    None   None  None     None   None  None   \n",
       "2018-07-13 13:51:00 002633   None    None   None  None     None   None  None   \n",
       "2018-07-13 13:52:00 300226  上海自贸区  物流电商平台   上海其它  通信服务  传播与文化产业  信息技术业   深股通   \n",
       "2018-07-13 14:09:00 002909   None    None   None  None     None   None  None   \n",
       "2018-07-13 14:10:00 000962   None    None   None  None     None   None  None   \n",
       "2018-07-13 14:13:00 000962   None    None   None  None     None   None  None   \n",
       "2018-07-13 14:14:00 000962   None    None   None  None     None   None  None   \n",
       "2018-07-13 14:19:00 002347   None    None   None  None     None   None  None   \n",
       "2018-07-13 14:20:00 002347   None    None   None  None     None   None  None   \n",
       "2018-07-13 14:26:00 002909   None    None   None  None     None   None  None   \n",
       "2018-07-13 14:50:00 300390   None    None   None  None     None   None  None   \n",
       "2018-07-13 14:52:00 300390   None    None   None  None     None   None  None   \n",
       "2018-07-13 14:54:00 300390   None    None   None  None     None   None  None   \n",
       "\n",
       "                                28  \n",
       "datetime            code            \n",
       "2018-07-13 09:31:00 002662    None  \n",
       "                    002694    None  \n",
       "                    300011    None  \n",
       "                    600793    None  \n",
       "                    601028    None  \n",
       "2018-07-13 09:32:00 002112    None  \n",
       "2018-07-13 09:33:00 002694    None  \n",
       "                    002897    None  \n",
       "                    601330    None  \n",
       "2018-07-13 09:35:00 300062    None  \n",
       "                    601330    None  \n",
       "                    603690    None  \n",
       "2018-07-13 09:36:00 300128    None  \n",
       "                    300648    None  \n",
       "2018-07-13 09:40:00 603703    None  \n",
       "2018-07-13 09:44:00 603690    None  \n",
       "2018-07-13 09:46:00 002897    None  \n",
       "2018-07-13 09:58:00 600793    None  \n",
       "2018-07-13 10:04:00 603595    None  \n",
       "2018-07-13 10:08:00 300128    None  \n",
       "2018-07-13 10:09:00 300128    None  \n",
       "2018-07-13 10:10:00 300049    None  \n",
       "2018-07-13 10:23:00 300534    None  \n",
       "2018-07-13 10:37:00 002164    None  \n",
       "                    002653    None  \n",
       "2018-07-13 10:39:00 002164    None  \n",
       "2018-07-13 10:41:00 002164    None  \n",
       "2018-07-13 10:42:00 002164    None  \n",
       "2018-07-13 11:02:00 300163    None  \n",
       "2018-07-13 11:05:00 000411    None  \n",
       "2018-07-13 11:06:00 002770    None  \n",
       "2018-07-13 11:07:00 002770    None  \n",
       "2018-07-13 13:01:00 002243    None  \n",
       "                    300648    None  \n",
       "2018-07-13 13:10:00 002909    None  \n",
       "2018-07-13 13:12:00 002909    None  \n",
       "2018-07-13 13:16:00 002633    None  \n",
       "2018-07-13 13:51:00 002633    None  \n",
       "2018-07-13 13:52:00 300226  融资融券标的  \n",
       "2018-07-13 14:09:00 002909    None  \n",
       "2018-07-13 14:10:00 000962    None  \n",
       "2018-07-13 14:13:00 000962    None  \n",
       "2018-07-13 14:14:00 000962    None  \n",
       "2018-07-13 14:19:00 002347    None  \n",
       "2018-07-13 14:20:00 002347    None  \n",
       "2018-07-13 14:26:00 002909    None  \n",
       "2018-07-13 14:50:00 300390    None  \n",
       "2018-07-13 14:52:00 300390    None  \n",
       "2018-07-13 14:54:00 300390    None  \n",
       "\n",
       "[49 rows x 29 columns]"
      ]
     },
     "execution_count": 14,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "res"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 7.查看异动个股所属版块"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "['锂电池',\n",
       " '新能源车',\n",
       " '昨日涨停',\n",
       " '昨日连板',\n",
       " '送转超跌',\n",
       " '上周强势',\n",
       " '融资融券',\n",
       " '新材料概念',\n",
       " '新能源汽车',\n",
       " '北京',\n",
       " '汽车零部件',\n",
       " '深股通',\n",
       " '融资融券标的',\n",
       " '制造业']"
      ]
     },
     "execution_count": 15,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "block.get_code('002662').block_name"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 8.我们可以使用QA_DataStruct_series来加载异动series 方便我们查看"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 16,
   "metadata": {},
   "outputs": [],
   "source": [
    "mvs=QA.QA_DataStruct_Series(fast_moving)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 17,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "< QA_DATASTRUCT_SEIRES >"
      ]
     },
     "execution_count": 17,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "mvs"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "选取某一个股票"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 18,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "datetime             code  \n",
       "2018-07-13 09:35:00  000062    0.030049\n",
       "                     000503    0.031199\n",
       "                     000576    0.058965\n",
       "                     000736    0.032200\n",
       "                     000995    0.055556\n",
       "                     002112    0.047891\n",
       "                     002178    0.037037\n",
       "                     002544    0.047940\n",
       "                     002662    0.047619\n",
       "                     002694    0.077689\n",
       "                     002816    0.059379\n",
       "                     300011    0.040785\n",
       "                     300062    0.095149\n",
       "                     300090    0.030055\n",
       "                     300325    0.030395\n",
       "                     300452    0.133000\n",
       "                     300542    0.030814\n",
       "                     300582    0.062303\n",
       "                     300654    0.033835\n",
       "                     300684    0.043017\n",
       "                     300718    0.044000\n",
       "                     300746    0.055276\n",
       "                     600179    0.059558\n",
       "                     600238    0.031299\n",
       "                     601028    0.046729\n",
       "                     601330    0.051858\n",
       "                     603579    0.030597\n",
       "2018-07-13 09:40:00  000517    0.052980\n",
       "                     000638    0.035647\n",
       "                     000732    0.030900\n",
       "                                 ...   \n",
       "2018-07-13 13:35:00  603667    0.032099\n",
       "2018-07-13 13:40:00  603029    0.041191\n",
       "2018-07-13 13:50:00  600255    0.046512\n",
       "2018-07-13 13:55:00  002423    0.055931\n",
       "                     600117    0.045952\n",
       "                     600507    0.097876\n",
       "                     600581    0.030303\n",
       "2018-07-13 14:05:00  002256    0.067251\n",
       "                     300458    0.038298\n",
       "2018-07-13 14:10:00  000046    0.035336\n",
       "                     002882    0.030415\n",
       "                     603718    0.032765\n",
       "2018-07-13 14:15:00  000780    0.032836\n",
       "                     000962    0.075000\n",
       "                     300392    0.032051\n",
       "                     603733    0.044753\n",
       "2018-07-13 14:20:00  002347    0.069409\n",
       "                     300477    0.042049\n",
       "                     600459    0.040338\n",
       "2018-07-13 14:25:00  002182    0.053055\n",
       "2018-07-13 14:35:00  002326    0.031128\n",
       "                     603067    0.080741\n",
       "2018-07-13 14:40:00  603021    0.045198\n",
       "2018-07-13 14:50:00  000678    0.032882\n",
       "                     300125    0.065244\n",
       "                     600980    0.034711\n",
       "2018-07-13 14:55:00  600599    0.078667\n",
       "                     601113    0.037410\n",
       "2018-07-13 15:00:00  000609    0.030457\n",
       "                     300390    0.046565\n",
       "Length: 147, dtype: float64"
      ]
     },
     "execution_count": 18,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "mvs.select_code('000411').series"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "选取某一个时刻"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 19,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "datetime             code  \n",
       "2018-07-13 09:35:00  000062    0.030049\n",
       "                     000503    0.031199\n",
       "                     000576    0.058965\n",
       "                     000736    0.032200\n",
       "                     000995    0.055556\n",
       "                     002112    0.047891\n",
       "                     002178    0.037037\n",
       "                     002544    0.047940\n",
       "                     002662    0.047619\n",
       "                     002694    0.077689\n",
       "                     002816    0.059379\n",
       "                     300011    0.040785\n",
       "                     300062    0.095149\n",
       "                     300090    0.030055\n",
       "                     300325    0.030395\n",
       "                     300452    0.133000\n",
       "                     300542    0.030814\n",
       "                     300582    0.062303\n",
       "                     300654    0.033835\n",
       "                     300684    0.043017\n",
       "                     300718    0.044000\n",
       "                     300746    0.055276\n",
       "                     600179    0.059558\n",
       "                     600238    0.031299\n",
       "                     601028    0.046729\n",
       "                     601330    0.051858\n",
       "                     603579    0.030597\n",
       "dtype: float64"
      ]
     },
     "execution_count": 19,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "mvs.select_time('2018-07-13 09:35:00').series"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 20,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th>source</th>\n",
       "      <th>type</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>blockname</th>\n",
       "      <th>code</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>央企改革</th>\n",
       "      <th>000411</th>\n",
       "      <td>tdx</td>\n",
       "      <td>gn</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>中证央企</th>\n",
       "      <th>000411</th>\n",
       "      <td>tdx</td>\n",
       "      <td>zs</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>户数增加</th>\n",
       "      <th>000411</th>\n",
       "      <td>tdx</td>\n",
       "      <td>fg</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>基金独门</th>\n",
       "      <th>000411</th>\n",
       "      <td>tdx</td>\n",
       "      <td>fg</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>久不分红</th>\n",
       "      <th>000411</th>\n",
       "      <td>tdx</td>\n",
       "      <td>fg</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>昨日涨停</th>\n",
       "      <th>000411</th>\n",
       "      <td>tdx</td>\n",
       "      <td>fg</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>近期新低</th>\n",
       "      <th>000411</th>\n",
       "      <td>tdx</td>\n",
       "      <td>fg</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>医疗器械</th>\n",
       "      <th>000411</th>\n",
       "      <td>ths</td>\n",
       "      <td>gn</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>浙江</th>\n",
       "      <th>000411</th>\n",
       "      <td>ths</td>\n",
       "      <td>dy</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>医药商业</th>\n",
       "      <th>000411</th>\n",
       "      <td>ths</td>\n",
       "      <td>thshy</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>批发和零售贸易</th>\n",
       "      <th>000411</th>\n",
       "      <td>ths</td>\n",
       "      <td>zjhhy</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>央企国资改革</th>\n",
       "      <th>000411</th>\n",
       "      <td>ths</td>\n",
       "      <td>gn</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>制造业</th>\n",
       "      <th>000411</th>\n",
       "      <td>ths</td>\n",
       "      <td>zjhhy</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                 source   type\n",
       "blockname code                \n",
       "央企改革      000411    tdx     gn\n",
       "中证央企      000411    tdx     zs\n",
       "户数增加      000411    tdx     fg\n",
       "基金独门      000411    tdx     fg\n",
       "久不分红      000411    tdx     fg\n",
       "昨日涨停      000411    tdx     fg\n",
       "近期新低      000411    tdx     fg\n",
       "医疗器械      000411    ths     gn\n",
       "浙江        000411    ths     dy\n",
       "医药商业      000411    ths  thshy\n",
       "批发和零售贸易   000411    ths  zjhhy\n",
       "央企国资改革    000411    ths     gn\n",
       "制造业       000411    ths  zjhhy"
      ]
     },
     "execution_count": 20,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "block.get_code(list(high_limit.code)[0])()"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.6.5"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
